package patten.xingwei.observer.demo1;

/**
 * Description：TODO
 * Author：zwenzhi
 * Date：2023/11/17 10:34
 */
public class Client {
    public static void main(String[] args) {
        Order order = new Order();
        order.addObserver(new OutObserver());
        order.addObserver(new ShipCarObserver());
        order.setStatus("已创建");
        order.setStatus("已出库");

    }
}
